package com.ftf.tp.blog.application.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 文章数据VO
 *
 * @author tanghao
 * @date 2021/12/7
 */
@Data
public class ArticleDataVO {

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 文章id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long articleId;

    /**
     * 浏览量
     */
    private Long lookAmount;

    /**
     * 点赞数
     */
    private Long supportAmount;

    /**
     * 收藏数
     */
    private Long collectionAmount;

    /**
     * 评论数
     */
    private Long commentAmount;

    /**
     * 热度
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long hotValue;
}
